package com.ogilvy.cms.service;

import java.util.List;
import java.util.Map;

import com.ogilvy.cms.bean.CmsTemplate;
import com.ogilvy.cms.bean.CmsTemplateField;
import com.ogilvy.frame.service.BaseService;

public interface CmsTemplateFieldService extends BaseService{
  public List<CmsTemplateField> query(CmsTemplateField temField);
  
  public List<CmsTemplateField> queryByScreen(Map<String,String> screenMap);
  
  public  CmsTemplateField add(CmsTemplateField temField);
  
  public boolean del(int fieldid);
  
  public boolean modify(CmsTemplateField temField);
  
  public List<CmsTemplateField> findById(CmsTemplateField temField);
  
  public List<CmsTemplateField>  findAll(CmsTemplateField temField);
  
  public List<CmsTemplateField> findAllList();
  
  public boolean checkTempFieldName(String ctfName);
  
  public List<CmsTemplateField> selectTemplateFieldByCmtId(int cmtId);
  
  
}
